package com.woniuxy.testmyjdkproxy;

import com.woniuxy.jdkproxy.MyProxy;
import com.woniuxy.service.LeiManegerService;
import com.woniuxy.service.serviceimpl.ManegerServiceImpl;

public class Test {
    public static void main(String[] args) {
        LeiManegerService o = (LeiManegerService) MyProxy.createProxyObject(new ManegerServiceImpl());
        o.addOne();
        o.findAll();
        o.findOne();
    }
}
